import { all } from 'redux-saga/effects'
import send from './send'
import register from './register'
import login from './login'
import main from './main'
import layout from './layout'
import sign from './sign'
import signEdit from './signEdit'
import template from './template'
import enums from './enum'
import templateEdit from './templateEdit'
import batchRecord from './batchRecord'
import sendRecord from './sendRecord'
import upStreamRecord from './upStreamRecord'
import dayStatistics from './dayStatistics'
import monthStatistics from './monthStatistics'
import whiteList from './whiteList'
import individuationSetting from './individuationSetting'
import rechargeRecord from './rechargeRecord'

export default function* rootSaga(){
  yield all([
    ...send, 
    ...register, 
    ...login,
    ...main,
    ...layout,
    ...sign,
    ...signEdit,
    ...template,
    ...templateEdit,
    ...enums,
    ...batchRecord,
    ...sendRecord,
    ...upStreamRecord,
    ...dayStatistics,
    ...monthStatistics,
    ...whiteList,
    ...individuationSetting,
    ...rechargeRecord,
  ])
}